<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>  
	
<form id="pagerForm" method="post" action="#rel#"><input
	type="hidden" name="pageNum" value="1" /> 
		<input type="hidden" name="pageNo" value="${page.pageNo}" /> 
		<input type="hidden" name="orderField" value="${param.orderField}" /> 
		<input type="hidden" name="orderDirection" value="${param.orderDirection}" />
	</form>

<div class="pageHeader">
<form rel="pagerForm" onsubmit="return navTabSearch(this);"
	action="w_removeSelected.html" method="post">
<div class="searchBar">
	
		<table class="searchContent">
			<tr>
				<td class="dateRange">
					创建时间:
					<input type="text" value="" readonly="readonly" class="date" name="startDate">
					<span class="limit">-</span>
					<input type="text" value="" readonly="readonly" class="date" name="endDate">
				</td>
				<td>
					标题/内容：<input type="text" name="keyword" size="50"/>
				</td>
				<td><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></td>
			</tr>
		</table>

</div>
</form>
</div>
<div class="pageContent">
<div class="panelBar">
<ul class="toolBar">
	<li><a class="add" href="article/view" target="navTab"><span>添加</span></a></li>
	<li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids"
		href="demo/common/ajaxDone.html" class="delete"><span>批量删除默认方式</span></a></li>
	<li>
		<a class="edit" href="article/view?articleId={sid_user}"
			target="navTab" warn="请选择一条记录">
		  <span>修改</span>
		</a>
	 </li>
	<li class="line">line</li>
	<li><a class="icon" href="demo/common/dwz-team.xls"
		target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
</ul>
</div>
<table class="table" width="1200" layoutH="138">
	<thead>
		<tr>
			<th width="22">
			<input type="checkbox" group="ids" class="checkboxCtrl">
			</th>
			<th width="120" orderField="accountNo" class="asc">文章标题</th>
			<th orderField="accountName">文章类别</th>
			<th width="80" orderField="accountType">标签 </th>
			<th width="130" orderField="accountCert">简介</th>
			<th width="60" align="center" orderField="accountLevel">文章正文</th>
			<th width="70">创建时间</th>
			<th width="70">更新时间</th>
			
		</tr>
	</thead>
	
	<tbody>
	   <c:forEach items="${page.result}" var="result">
		<tr target="sid_user" rel="${result.articleId}">
			<td><input name="ids" value="${result.articleId}" type="checkbox"></td>
			<td>${result.title }</td>
			<td>${result.articleType.typeName}</td>
			<td>${result.tag}</td>
			<td>${result.descn}</td>
			<td>${result.content }</td>
			<td>${result.createTime }</td>
			<td>${result.updateTime }</td>
		</tr>
	 </c:forEach>	
	</tbody>
</table>
<div class="panelBar">
<div class="pages"><span>显示</span> <select class="combox"
	name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
	<option value="20" ${page.pageSize==20?'selected="selected"':''}>20</option>
	<option value="50" ${page.pageSize==50?'selected="selected"':''}>50</option>
	<option value="100" ${page.pageSize==100?'selected="selected"':''}   >100</option>
	<option value="200" ${page.pageSize==200?'selected="selected"':''}>200</option>
</select> <span>条，共${page.totalRecords}条</span></div>

<div class="pagination" targetType="navTab" totalCount="${page.totalRecords}" numPerPage="${page.pageSize}" pageNumShown="10" currentPage="${page.pageNo}">
</div>
</div>
</div>
